package com.dragon.graduation.teacher.service.impl;

import com.dragon.graduation.teacher.entity.TeacherEntity;
import com.dragon.graduation.teacher.mapper.TeacherMapper;
import com.dragon.graduation.teacher.service.TeacherService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 教师表 服务实现类
 * </p>
 *
 * @author dragon
 * @since 2025-02-28 21:24:33
 */
@Service
public class TeacherServiceImpl extends ServiceImpl<TeacherMapper, TeacherEntity> implements TeacherService {

    @Override
    public TeacherEntity getByUserId(Integer id) {
        return baseMapper.selectByUserId(id);
    }
}
